import request from '@/utils/request'

export const hotcity = () => {
  return request({
    method: 'GET',
    url: '/area/hot'
  })
}

export const citylist = (data) => {
  return request({
    method: 'GET',
    url: 'area/city?level=1',
    data
  })
}

export const house = (params) => {
  return request({
    method: 'GET',
    url: '/area/map',
    params
  })
}
